﻿<%@ Page Title="ItemPage" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="ItemPage.aspx.cs" Inherits="ItemPage" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 484px;
        }
        .style2
        {
            width: 500px;
        }
        
    </style>
</asp:Content>
<asp:Content  ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

     <asp:Panel ID="ItemPanel" runat="server" Height="700" Width="800">
        <table style="border:1 dashed">
              <tr >
                  <td rowspan="9" class="style2"><asp:Image BorderWidth="1" runat="server" ID="BookPicture"   
                      Width="400" Height="400" />
                  </td>
                  <td align="center">
                        <asp:Label Height="40" Width="400" runat="server" ID="BookName" Font-Bold="true" 
                         Font-Size="X-Large" Font-Names="微软雅黑" ForeColor="DarkOrange"> 
                         </asp:Label>
                  </td>

              </tr> 
                    <tr style="border:1">
                       <td align="justify">  
                          <asp:Label Width="30" runat="server" />
                          <asp:Label Height="40" Width="90" runat="server" ID="ISBNLabel1" Font-Bold="true"
                          Font-Size="Medium" Font-Names="微软雅黑" Text="I S B N  :" ForeColor="Gray" />         
                          <asp:Label Height="40" Width="200" runat="server" ID="ISBNLabel" Font-Bold="true" ForeColor="DarkRed"
                          Font-Size="Medium" Font-Names="微软雅黑" /> 
                                                          
                       </td>                
                   </tr> 
                   <tr style="border:1">
                       <td align="justify">
                         <asp:Label ID="Label1" Width="30" runat="server" />  
                          <asp:Label Height="40" Width="90" runat="server" ID="AuthorLabel1" Font-Bold="true"
                          Font-Size="Medium" Font-Names="微软雅黑" Text="作　　者 :" ForeColor="Gray" />         
                          <asp:Label Height="40" Width="200" runat="server" ID="AuthorLabel" Font-Bold="true" ForeColor="DarkRed"
                          Font-Size="Medium" Font-Names="微软雅黑" /> 
                                                          
                       </td>                
                   </tr>
                   <tr style="border:1">
                       <td align="justify"> 
                          <asp:Label ID="Label2" Width="30" runat="server" /> 
                          <asp:Label Height="40" Width="90" runat="server" ID="DateLabel1" Font-Bold="true"
                          Font-Size="Medium" Font-Names="微软雅黑" Text="出版日期 :" ForeColor="Gray" />         
                          <asp:Label Height="40" Width="200" runat="server" ID="DateLabel" Font-Bold="true" ForeColor="DarkRed"
                          Font-Size="Medium" Font-Names="微软雅黑"  /> 
                                                          
                       </td>                
                   </tr>
                   <tr style="border:1">
                       <td align="justify">
                          <asp:Label ID="Label4" Width="30" runat="server" />  
                          <asp:Label Height="40" Width="90" runat="server" ID="ShelfLabel1" Font-Bold="true"
                          Font-Size="Medium" Font-Names="微软雅黑" Text="上架日期 :" ForeColor="Gray" />         
                          <asp:Label Height="40" Width="200" runat="server" ID="ShelfLabel" Font-Bold="true" ForeColor="DarkRed"
                          Font-Size="Medium" Font-Names="微软雅黑" /> 
                                                          
                       </td>                
                   </tr>            
                  <tr style="border:1">          
                     <td align="justify">  
                         <asp:Label ID="Label5" Width="30" runat="server" />
                         <asp:Label Height="40" Width="90" runat="server" ID="BookPriceLabel1" Font-Bold="true"
                          Font-Size="Medium" Font-Names="微软雅黑" Text="价　　格 :" ForeColor="Gray" />
                         <asp:Label Height="40" Width="30" runat="server" ID="BookPriceLabel2" Font-Bold="true"
                          Font-Size="Medium" Font-Names="微软雅黑" Text="￥" ForeColor="DarkRed" />         
                         <asp:Label Height="40" Width="60" runat="server" ID="BookPrice" Font-Bold="true" ForeColor="DarkRed"
                          Font-Size="Medium" Font-Names="微软雅黑" />                            
                     </td>                
                  </tr>
                  <tr style="border:1">
                      <td align="justify">
                         <asp:Label ID="Label6" Width="30" runat="server" />  
                         <asp:Label Height="40" Width="90" runat="server" ID="BookSoldLabel1" Font-Bold="true"
                         Font-Size="Medium" Font-Names="微软雅黑" Text="销　　量 :" ForeColor="Gray" />         
                         <asp:Label Height="40" Width="40" runat="server" ID="BookSoldLabel" Font-Bold="true" ForeColor="DarkRed"
                         Font-Size="Medium" Font-Names="微软雅黑"  /> 
                         <asp:Label Height="40" Width="50" runat="server" ID="BookSoldLabel2" Font-Bold="true"
                         Font-Size="Medium" Font-Names="微软雅黑" Text="件" ForeColor="Gray" />                                
                      </td>                
                  </tr>
                  <tr style="border:1">
                      <td align="justify">
                         <asp:Label ID="Label7" Width="30" runat="server" />  
                         <asp:Label Height="40" Width="90" runat="server" ID="BookStoreLabel1" Font-Bold="true"
                         Font-Size="Medium" Font-Names="微软雅黑" Text="库　　存 :" ForeColor="Gray" />         
                         <asp:Label Height="40" Width="40" runat="server" ID="BookStoreLabel" Font-Bold="true" ForeColor="DarkRed"
                         Font-Size="Medium" Font-Names="微软雅黑" /> 
                         <asp:Label Height="40" Width="50" runat="server" ID="BookStoreLabel2" Font-Bold="true"
                         Font-Size="Medium" Font-Names="微软雅黑" Text="件" ForeColor="Gray" />                                
                      </td>                
                  </tr>
                  <tr style="border:1">
                      <td align="justify"> 
                         <asp:Label ID="Label8" Width="30" runat="server" /> 
                         <asp:Label Height="40" Width="90" runat="server" ID="BuyLabel1" Font-Bold="true"
                         Font-Size="Medium" Font-Names="微软雅黑" Text="购　　买 :" ForeColor="Gray" />         
                          <asp:DropDownList  ID="BuyNum" Width="40" AutoPostBack="true" runat="server">
                          </asp:DropDownList>
                         <asp:Label Height="40" Width="50" runat="server" ID="Label3" Font-Bold="true"
                         Font-Size="Medium" Font-Names="微软雅黑" Text="件" ForeColor="Gray" />  
                         <asp:Button ID="CartButton" runat="server" Text="加入购物车" 
                              onclick="CartButton_Click" />                              
                      </td>                
                  </tr>                 
            </table>   
               
                   <asp:Label ID="IntroLabel1" runat="server" Font-Bold="true" Font-Names="微软雅黑" 
                       Font-Size="Medium" ForeColor="Gray" Height="40" Text="书籍简介 :" Width="100" />
                    
                    <asp:Label ID="IntroLabel" runat="server" Font-Bold="true" Font-Names="微软雅黑" 
                      Font-Size="Small" ForeColor="DarkRed" Height="300" Width="800" />      
                          
     </asp:Panel>
</asp:Content>
